Skip to content

Remove openai latest dep restriction #14423

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 15, 2025
Merged

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Aug 13, 2025

@laurit laurit requested a review from a team as a code owner August 13, 2025 12:40
@anuraaga
Copy link
Contributor

Thanks @laurit! Not sure if there are any conflicts, but would it be possible to merge #14353 first?

Copy link
Contributor

@anuraaga anuraaga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just small comment

}
return Value.of(result);
}

@Nullable
private static Value<String> toValue(@Nullable String string) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIUC, we have null handling here because of the very rare situation where reflection fails for some reason - this is despite also having nice isAvailable checks.

Any thoughts on having invokeStringHandle return "" in the failure case since we expect it to basically not happen?

Otherwise, it's probably worth adding a comment summarizing the above to clarify this is an issue with the code here and not the API responses

Copy link
Contributor

@anuraaga anuraaga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Meant to approve with the nit

@jaydeluca jaydeluca mentioned this pull request Aug 15, 2025
@trask trask merged commit 2ca62ab into open-telemetry:main Aug 15, 2025
89 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants